package jp.ac.waseda.cs.washi.game.entity;

import java.awt.Image;

import jp.ac.waseda.cs.washi.gameaiarena.gui.Renderer;

public class Wall implements Cloneable {

	private Image _image;

	public Wall(Image image) {
		_image = image;
	}

	@Override
	public Wall clone() {
		try {
			return (Wall) super.clone();
		} catch (CloneNotSupportedException e) {
		}
		return null;
	}

	public void draw(Renderer render, int x, int y) {
		render.drawImage(_image, x * 32, y * 32);
	}
}
